package com.zkdcloud.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author zk123
 * @version 2018/5/24
 */
public class DateUtil {
    /**
     * 精确到小时
     *
     * @param millions haomiao
     * @return 时间字符串
     */
    public static String getHourLevelFormat(Long millions){
        SimpleDateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
        return dateFormat.format(new Date(millions));
    }
}
